home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c-part1 / 9942 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  918 b 

  1. Path: keats.ugrad.cs.ubc.ca!not-for-mail
  2. From: c2a192@ugrad.cs.ubc.ca (Kazimir Kylheku)
  3. Newsgroups: comp.lang.c
  4. Subject: Re: Info on x86 ASM on GCC available?
  5. Date: 14 Mar 1996 07:51:28 -0800
  6. Organization: Computer Science, University of B.C., Vancouver, B.C., Canada
  7. Distribution: inet
  8. Message-ID: <4i9fa0INN82r@keats.ugrad.cs.ubc.ca>
  9. References: <314737C5.133887F1@mnar.tky.hut.fi>
  10. NNTP-Posting-Host: keats.ugrad.cs.ubc.ca
  11.  
  12. In article <314737C5.133887F1@mnar.tky.hut.fi>,
  13. Tero Parvinen  <tero@mnar.tky.hut.fi> wrote:
  14. >I'd like to code some inline asm into my GCC programs on Linux, but I
  15.  
  16. Then go to a GCC-related newsgroup. The C language has no standardized 
  17. method to express inline assembly language; it is highly environment-specific.
  18.  
  19. >only know the TASM-style assembler syntax and GCC doesn't use it.
  20.  
  21. So learn the new syntax. Take a C program and compile it with -S. Then
  22. look at the resulting .s file.
  23. -- 
  24.  
  25.